package com.micro.modual.entity;

import javax.persistence.Id;

import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * <h1>商品品牌表表 micro_goods_brand</h1>
 *
 * @author levelcoder
 * @date 2020-08-04 00:11:10
 */
@ApiModel(description = "商品品牌表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "micro_goods_brand")
public class GoodsBrand implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @ApiModelProperty(value = "主键编号")
    private Long id;


    /**
     * 品牌名称
     */
    @ApiModelProperty(value = "品牌名称")
    private String brandName;


    /**
     * 品牌图片:存储图片路径
     */
    @ApiModelProperty(value = "品牌图片:存储图片路径")
    private String brandImageUrl;


    /**
     * 品牌首字母
     */
    @ApiModelProperty(value = "品牌首字母")
    private String brandAcronym;


    /**
     * 品牌排序
     */
    @ApiModelProperty(value = "品牌排序")
    private Integer brandSort;


    /**
     * 状态 1.启用 2.禁用
     */
    @ApiModelProperty(value = "状态 1.启用 2.禁用")
    private Byte brandStatus;


    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;


    /**
     * 品牌编号
     */
    @ApiModelProperty(value = "品牌编号")
    private String brandCode;

}
